package com.lizhaoshan.service;

import com.lizhaoshan.dto.DishDto;
import com.lizhaoshan.pojo.Dish;
import com.lizhaoshan.pojo.PageBean;
import com.lizhaoshan.vo.DishVo;

import java.util.List;

/**
 * @program: reggie
 * @description: 口味服务层接口
 * @author: lamour
 * @create: 2022-05-14 17:16
 **/
public interface DishService {

    boolean addDish(DishDto dishDto);

    boolean putDish(DishDto dishDto);

    boolean deleteByIds(List<String> idsList);

    boolean updateStatus(Integer status, List<String> idsList);

    List<DishVo> getByCategoryId(String categoryId);

    PageBean<DishVo> selectPage(Integer page, Integer pageSize, String name, String type);

    DishVo selectByDishId(String id);
}
